package com.cy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * <p>
 * 课程信息实体
 * </p>
 *
 * @author Aleven
 * @since 2024-12-21
 */
@Data
@ApiModel(value="Courses对象", description="")
public class Courses implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程唯一标识符")
    @TableId(value = "CourseID", type = IdType.AUTO)
    private Integer CourseID;

    @ApiModelProperty(value = "课程标题")
    @TableField("Title")
    private String Title;

    @ApiModelProperty(value = "课程描述")
    @TableField("Description")
    private String Description;

    @ApiModelProperty(value = "课程分类")
    @TableField("Category")
    private String Category;

    @ApiModelProperty(value = "讲师ID")
    @TableField("InstructorID")
    private Integer InstructorID;


}
